package com.epsilon.pos.productos.view;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;

public class ProductoShell extends Shell {
	
	private ProductoComposite	productoComposite;

	public ProductoShell( Shell parent ) {
		super( parent, SWT.CLOSE | SWT.MIN | SWT.TITLE | SWT.APPLICATION_MODAL );

		productoComposite = new ProductoComposite( this, SWT.NONE );
		productoComposite.setBounds( 10, 10, 450, 449 );
		createContents();
	}

	protected void createContents() {
		setText( "Agregar producto" );
		setSize( 480, 493 );

	}

	@Override
	protected void checkSubclass() {
	}

	public ProductoComposite getProductoComposite() {
		return productoComposite;
	}
}
